package com.ftdigital.primemovers_operators.model;

import com.ftdigital.primemovers_operators.config.RequestAddr;

/**
 * Created by Curry on 2015-12-29.
 */
public class OrderDetail {


    /**
     * flag : true
     * data : {"car_num":"京A8888","user_icon_url":"3.png","totalprice":"￥500","supplier_name":"河北承德市供应商","qty":"100.00L","order_id":1,"car_icon_url":"1.png","gasstation_name":"承德1站","order_no":"ZXC112233","car_type":"17.5","user_name":"张曲言","price":"5￥/L","convention_price":"5￥/L","company_name":"河北物流公司","emp_no":"ZZ101","gas_type":"0#柴油"}
     * msg : 成功
     */
    private boolean flag;
    private DataEntity data;
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public class DataEntity {
        /**
         * car_num : 京A8888
         * user_icon_url : 3.png
         * totalprice : ￥500
         * supplier_name : 河北承德市供应商
         * qty : 100.00L
         * order_id : 1
         * car_icon_url : 1.png
         * gasstation_name : 承德1站
         * order_no : ZXC112233
         * car_type : 17.5
         * user_name : 张曲言
         * price : 5￥/L
         * convention_price : 5￥/L
         * company_name : 河北物流公司
         * emp_no : ZZ101
         * gas_type : 0#柴油
         */
        private String car_num;
        private String user_icon_url;
        private String totalprice;
        private String supplier_name;
        private String qty;
        private int order_id;
        private String car_icon_url;
        private String gasstation_name;
        private String order_no;
        private String car_type;
        private String user_name;
        private String price;
        private String convention_price;
        private String company_name;
        private String emp_no;
        private String gas_type;

        public void setCar_num(String car_num) {
            this.car_num = car_num;
        }

        public void setUser_icon_url(String user_icon_url) {
            this.user_icon_url = user_icon_url;
        }

        public void setTotalprice(String totalprice) {
            this.totalprice = totalprice;
        }

        public void setSupplier_name(String supplier_name) {
            this.supplier_name = supplier_name;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }

        public void setOrder_id(int order_id) {
            this.order_id = order_id;
        }

        public void setCar_icon_url(String car_icon_url) {
            this.car_icon_url = car_icon_url;
        }

        public void setGasstation_name(String gasstation_name) {
            this.gasstation_name = gasstation_name;
        }

        public void setOrder_no(String order_no) {
            this.order_no = order_no;
        }

        public void setCar_type(String car_type) {
            this.car_type = car_type;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setConvention_price(String convention_price) {
            this.convention_price = convention_price;
        }

        public void setCompany_name(String company_name) {
            this.company_name = company_name;
        }

        public void setEmp_no(String emp_no) {
            this.emp_no = emp_no;
        }

        public void setGas_type(String gas_type) {
            this.gas_type = gas_type;
        }

        public String getCar_num() {
            return car_num;
        }

        public String getUser_icon_url() {
            return RequestAddr.imageUrl+user_icon_url;
        }

        public String getTotalprice() {
            return totalprice;
        }

        public String getSupplier_name() {
            return supplier_name;
        }

        public String getQty() {
            return qty;
        }

        public int getOrder_id() {
            return order_id;
        }

        public String getCar_icon_url() {
            return RequestAddr.imageUrl+car_icon_url;
        }

        public String getGasstation_name() {
            return gasstation_name;
        }

        public String getOrder_no() {
            return order_no;
        }

        public String getCar_type() {
            return car_type;
        }

        public String getUser_name() {
            return user_name;
        }

        public String getPrice() {
            return price;
        }

        public String getConvention_price() {
            return convention_price;
        }

        public String getCompany_name() {
            return company_name;
        }

        public String getEmp_no() {
            return emp_no;
        }

        public String getGas_type() {
            return gas_type;
        }
    }
}
